package org.jeecg.modules.htxincailiao.news.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.htxincailiao.news.entity.HTNews;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: ht_news
 * @Author: jeecg-boot
 * @Date:   2021-08-11
 * @Version: V1.0
 */
public interface HTNewsMapper extends BaseMapper<HTNews> {

    @Select("<script>" +"SELECT * FROM ht_news WHERE name=#{name}" + "</script>")
    HTNews getByName(@Param("name") String name);
}
